package org.realteam.hibernate.test.model.inheritance;

import javax.persistence.Entity;
import javax.persistence.Table;

@Entity
@Table(name = "TEACHER")
public class Teacher extends Person {

	private String job;
	
	private String subject;

	public String getJob() {
		return job;
	}

	public void setJob(String job) {
		this.job = job;
	}

	public String getSubject() {
		return subject;
	}

	public void setSubject(String subject) {
		this.subject = subject;
	}
	
}
